/***********************************************************
GLOBAL VARIABLES
************************************************************/

/**
Set collection local storage
**/
function setCollection(collection){
	localStorage.setItem('collection', collection);
}

/**
Get collection local storage
**/
function getCollection(){
	return localStorage.getItem('collection');
}

/**
Vider le localStorage
**/
function clearLocalStorage(){
	localStorage.clear();
}

/**
Supprimer une valeure dans le localStorage
**/
function removeElement(element){
	localStorage.removeItem(element);
}